package codename.carrot.bomberman.game.listener;

import codename.carrot.bomberman.models.Player;

/**
 *  Interface for classes that listens to changes to the life of a player
 * @author Group A4
 *
 */
public interface PlayerLifeListener {
    
    /**
     *  Notification for when a player loses life
     * @param life number of lives lost
     * @param player the player that lost life
     */
    public void playerLostLife(int life, Player player);
}
